
#include "vsf.h"
#if defined(VSFVM_VM) || defined(VSFVM_COMPILER)

#include "../core/vsfvm_common.h"

struct vsflist_t vsfvm_extlist;
int vsfvm_register_ext(struct vsfvm_ext_t *ext)
{
	vsflist_init_node(&ext->list);
	vsflist_add_tail(&vsfvm_extlist, &ext->list);
	return 0;
}

#endif		// VSFVM_VM || VSFVM_COMPILER
